class BaseResult<T> {
  bool flag = true;
  int code = 20000;
  String message = "成功";


  BaseResult({required this.flag, required this.code, required this.message});

  BaseResult.fromJson(Map<String, dynamic> json) {
    flag = json['flag'];
    code = json['code'];
    message = json['message'];
  }

}